export default {
	name: 'photoMixins',
	data() {
		return {
			
		}
	},
	onLoad() {
		
	},
	methods: {
		//放大图片
		previewImg(i) {
			var index = i;
			let urls = this.list[i].attachments.map(e => e.docFileUrl );
			wx.previewImage({
				current: this.list[i].attachments[0].docFileUrl ||'', //当前图片地址
				urls: urls, //所有要预览的图片的地址集合 数组形式
				success: function(res) {
				},
				fail: function(res) {
				},
				complete: function(res) {}
			});
		}
	}
}